﻿using com.guojin.core.io.message;
using com.guojin.core.io;
using System;

public class ChageMyIntro : Message
{
    public static int TYPE = 7;
    public static int ID=89;
    private int clubid;
    /***俱乐部简介*/
    private string clubContent;
    public static ChageMyIntro create(int id, string said) {
        ChageMyIntro cm = new ChageMyIntro();
        cm.clubid = id;
        cm.clubContent = said;
        return cm;
    }
    public int Clubid
    {
        get
        {
            return clubid;
        }

        set
        {
            clubid = value;
        }
    }

    public string ClubContent
    {
        get
        {
            return clubContent;
        }

        set
        {
            clubContent = value;
        }
    }

    public void decode(Input _in)
    {
        
    }
    public void encode(Output _out)
    {
        _out.writeInt(clubid);
        _out.writeString(clubContent);
    }
    public int getMessageId()
    {
        return ID;
    }

    public int getMessageType()
    {
        return TYPE;
    }

    public string toString()
    {
        return "clubid" + clubid + "clubContent" + clubContent;
    }
}
